import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "Home",
    // route level code-splitting
    // which is lazy-loaded when the route is visited.
    component: function () {
      return import("../views/Home.vue");
    },
  },
];

const router = new VueRouter({
  // mode: "history",
  // base: process.env.VUE_APP_BASE_URL,
  routes,
});

export default router;
